package com.zzty.wja.serviceImpl;

import com.zzty.wja.entity.Question;
import com.zzty.wja.mapper.QuestionMapper;
import com.zzty.wja.service.QuestionService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class QuestionServiceImpl implements QuestionService {
    @Autowired
    private QuestionMapper questionMapper;

    @Override
    public Question addContent(Question question) {
        Question question1=question;
        questionMapper.addContent(question1);
        return question1;
    }


}
